package guoanmaker.operator.business.model;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
* @ClassName: OperatorTrademarkSearchLog 
* @Description: TODO(接口查询信息类) 
* @author (ZhangXinYu)  
* @date 2017年12月14日 下午8:59:44 
* @version V1.0
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_operator_trademark_search_log")
public class OperatorTrademarkSearchLog extends IdEntity{
	private String keyword;
	private Date datetime;
	private String tmName;
	private String tmCls;
	
	@ManyToOne(cascade=CascadeType.REFRESH,optional=false)
	@JoinColumn(name = "user_id")
	private PersonalUser user;
}
